﻿using BlockMain_Class;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace BlockMain_Class
{
    public class Publiclist
    {
        public int peernum { get; set; }
        public int height { get; set; }
        public List<PeerlistInfo> PeerList { get; set; }

        public List<AccountBook> BlockchainList { get; set; }
    }


    public class PeerlistInfo
    {
        public int No { get; set; }
        public string Id { get; set; }
        public string Name { get; set; }

        public int state { get; set; }

        public int height { get; set; }

        public string nowhash { get; set; }
  
        public string addtime { get; set; }
        public string datetime { get; set; }
    }
}
